#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
#include <unistd.h>
#include <string.h>

#include "curses.h"

#define FPS 15

#define BORDER_L "#|"
#define BORDER_R "|#"
#define ARROW_C '+'

/* receptors are arranged as follows */
/* ← ↓ ↑ →  (L, D, U, R)             */
#define ARROW_LEFT  'd'
#define ARROW_DOWN  'f'
#define ARROW_UP    'j'
#define ARROW_RIGHT 'k'